aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/[username]
diff options
context:
space:
mode:
authorsecondl1ght <[email protected]>2022-08-01 21:53:11 -0600
committersecondl1ght <[email protected]>2022-08-01 21:53:11 -0600
commitb8a74370541d396246b3a13fe72e6f528ef1a2ea (patch)
treef772bd041b605e6aca1cd7cd4596d0a6476aff22 /src/routes/[username]
parent53b35c5b13797ea59bec850447fd347214fef025 (diff)
downloadcoinos-ui-b8a74370541d396246b3a13fe72e6f528ef1a2ea.tar.gz
coinos-ui-b8a74370541d396246b3a13fe72e6f528ef1a2ea.zip
add payment success screen, currency store, ln address, bug fixes + more
Diffstat (limited to 'src/routes/[username]')
-rw-r--r--src/routes/[username]/index.svelte7
-rw-r--r--src/routes/[username]/support.svelte5
2 files changed, 3 insertions, 9 deletions
diff --git a/src/routes/[username]/index.svelte b/src/routes/[username]/index.svelte
index a53b94cc..6e3978ad 100644
--- a/src/routes/[username]/index.svelte
+++ b/src/routes/[username]/index.svelte
@@ -7,8 +7,7 @@
import { copy } from '$lib/utils';
export let username;
- //this needs to be pulled from user
- let lightning = 'lnbc1p3dzl8tpp5jgq2dxefjdhvmvs3uvtjc';
+ let lightningAddress = `${username}@coinos.io`;
onMount(async () => {
if (browser) {
@@ -39,7 +38,7 @@
setTimeout(() => (qrSkeleton = false), 100);
const handleCopy = () => {
- copy(lightning);
+ copy(lightningAddress);
toast.push('Copied!', {
theme: {
'--toastBarBackground': '#2F855A'
@@ -84,7 +83,7 @@
<div
class="bg-primary font-semibold rounded-xl text-sm py-2 px-3 flex flex-wrap justify-center items-center"
>
- <span>{lightning}</span>
+ <span>{lightningAddress}</span>
<button on:click={handleCopy}>
<Icon icon="copy" style="ml-2" />
</button>
diff --git a/src/routes/[username]/support.svelte b/src/routes/[username]/support.svelte
deleted file mode 100644
index 1935b156..00000000
--- a/src/routes/[username]/support.svelte
+++ /dev/null
@@ -1,5 +0,0 @@
-<script>
- import { AppHeader } from '$comp';
-</script>
-
-<AppHeader />